Call a method on Browser closure [X]
Posted
by Gaurav
on Stack Overflow
See other posts from Stack Overflow
or by Gaurav
Published on 2010-06-08T10:41:57Z
Indexed on
2010/06/08
10:52 UTC
Read the original article
Hit count: 155
I am facing an issue in my application user directly clicked on browser close [X] button. Browser can be IE, Chrome, Mozilla, Firefox and many more.
What I want to do : 1. as soon as User hits [X] button of browser, need to set there status as logged off in database for which we have a method in Login.aspx file which is within the masterpage. 2. We do not have any Logoff feature in the application
I will be thanlful if anyone suggest a solution to call the method which sets the user status as logged off from master page.
Thanks in advance.
© Stack Overflow or respective owner